﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="selectedCourse.aspx.cs" Inherits="学生成绩查询及选课系统.studetnOption.selectedCourse" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>学生成绩查询及选课系统</title>
        <meta name="renderer" content="webkit|ie-comp|ie-stand"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
        <meta http-equiv="Cache-Control" content="no-siteapp" />
        <link rel="stylesheet" href="../css/font.css"/>
        <link rel="stylesheet" href="../css/xadmin.css"/>
        <link href="./StyleSheet1.css" rel="stylesheet" />
        <!-- <link rel="stylesheet" href="./css/theme5.css"> -->
        <script src="../lib/layui/layui.js" charset="utf-8"></script>
        <script type="text/javascript" src="../js/xadmin.js"></script>
</head>
<body>
     <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                    <div class="layui-card-body ">
                        <form id="form1" runat="server">
        
                                <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1" OnItemCommand="Repeater1_ItemCommand"   >
                                    <HeaderTemplate>
                                        <table class="layui-table layui-form">
                                            <thead>
                                                <tr>
                                                    <td>课程ID</td>
                                                    <td>课程名</td>
                                                    <td>学分</td>
                                                    <td>课程性质</td>
                                                    <td>操作</td>
                                                </tr>
                                        </thead>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tbody>
                                            <tr>
                                                <td>
                                                    <asp:Literal ID="cno" runat="server" Text='<%#Eval("课程ID") %>'></asp:Literal>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label1" runat="server" Text='<%#Eval("课程名") %>'></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label2" runat="server" Text='<%#Eval("学分") %>' ></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Label ID="Label3" runat="server" Text='<%#Eval("课程性质") %>' ></asp:Label>
                                                </td>
                                                <td>
                                                    <asp:Button ID="Button1" runat="server" Text="取消" CssClass="layui-btn"  BackColor="Red"  CommandArgument='<%#Eval("课程ID") %>' CommandName="cancel"  />
                                                </td>
                                            </tr>
                                        </tbody>
                                    </ItemTemplate>
                                    <FooterTemplate>

                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                            <asp:SqlDataSource ID="SqlDataSource1" runat="server">
                            </asp:SqlDataSource>
                            <br />
                            <br />
                            <br />
                            <br />
                            <br />
                              <asp:Label ID="Label4"  runat="server" ForeColor="Red" Font-Size="Larger" ></asp:Label>
                        </form>
                        </div>
                </div>
            </div>
        </div>
     </div>
</body>
</html>
